package com.ruoyi.shop.trade.vo;

import java.util.List;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 商城预购订单对象
 * 
 * @author xuxiang
 */
public class ShopPreOrderVo {

	/** 预购订单类型 购物车(shopCart) 立即购买(buyNow) */
	private String preOrderType;

	/** 配送类型 */
	private Integer deliveryType;

	/** 地址Id */
	private Long addrId;

	/** 会员Id */
	private Long memberId;

	/** 会员领取优惠券Id */
	private String memberCouponId;

	/** 预购商品集 */
	private List<ShopPreGoodsVo> preGoods;

	/** 买家留言 */
	private String note;

	public Long getMemberId() {
		return memberId;
	}

	public void setMemberId(Long memberId) {
		this.memberId = memberId;
	}

	public Integer getDeliveryType() {
		return deliveryType;
	}

	public void setDeliveryType(Integer deliveryType) {
		this.deliveryType = deliveryType;
	}

	public String getPreOrderType() {
		return preOrderType;
	}

	public void setPreOrderType(String preOrderType) {
		this.preOrderType = preOrderType;
	}

	public List<ShopPreGoodsVo> getPreGoods() {
		return preGoods;
	}

	public void setPreGoods(List<ShopPreGoodsVo> preGoods) {
		this.preGoods = preGoods;
	}

	public Long getAddrId() {
		return addrId;
	}

	public void setAddrId(Long addrId) {
		this.addrId = addrId;
	}

	public String getMemberCouponId() {
		return memberCouponId;
	}

	public void setMemberCouponId(String memberCouponId) {
		this.memberCouponId = memberCouponId;
	}

	public String getNote() {
		return note;
	}

	public void setNote(String note) {
		this.note = note;
	}

	@Override
	public String toString() {
		return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE).append("deliveryType", getDeliveryType())
				.append("preOrderType", getPreOrderType()).append("memberCouponId", getMemberCouponId())
				.append("memberId", getMemberId()).toString();
	}

}
